{% autoescape true %}
{%- for event in events %}
<div class="event">
<div class="eventHeading {{event.categories|join(' ') }}">
  {%- if event.callsign %}
  <span class="eventCallsign">{{ event.callsign }}</span>
  {%- endif %}
  <span class="eventDate">
    {{ event.date_start|textdate(event.date_end, event.timezone) }}
  </span>
  <span class="eventTime">
    {{ event.date_start|texttime(event.date_end, event.timezone) }}
  </span>
  <div class="eventSubject">
    {{ event.subject }}
  </div>
  <div style="clear: both;"></div>
</div>
<div class="eventContent">
  <div class="eventDescription">{{ event.description|safe }}</div>
  <div class="eventComment">{{ event.comment }}</div>
  {%- if event.location %}
  <div class="eventLocation">{{ event.location }}</div>
  {%- endif %}
</div>
</div>
{%- endfor %}
{% endautoescape %}
